package com.cgy.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.cgy.entity.ZiYuan;

public interface ZiYuanService {
	
		Page<ZiYuan> findAllByNameZiyuan(ZiYuan z,Pageable pageable);
		List<ZiYuan> findAllZiYuan();
		//添加和修改机房
		ZiYuan addAndUpdateZiYuan(ZiYuan z);
		//删除机房
		Integer deleteZiyuan(Integer zid);
}
